package cn.com.lei.du.service;

import cn.com.lei.du.entity.User;
import rx.Observable;

import java.util.concurrent.Future;

public interface UserService {
    User getUser();

    User getUserByName(String name);

    User getUserByNameMap(String name);

    User postUserByName(String name);

    User postUserByNameMap(String name);

    Object postUserByRequestBody(String name);

    Future<User> postUserByRequestBodyAsy(String name);

    Observable<User> observe(String name);
}
